﻿using ThePresenter.Polls.Data;


namespace ThePresenter.Windows.Controls.Polls
{
	/// <summary>
	/// Interaction logic for TextQuestionControl.xaml
	/// </summary>
	public partial class TextQuestionControl : QuestionControl
	{
		#region Constructors
		/// <summary>
		/// Initializes a new instance of the <see cref="TextQuestionControl"/> class.
		/// </summary>
		public TextQuestionControl()
		{
			InitializeComponent();
		}
		#endregion


		#region Event handlers
		/// <summary>
		/// Handles the Loaded event of the QuestionControl control.
		/// </summary>
		/// <param name="sender">The source of the event.</param>
		/// <param name="e">The <see cref="System.Windows.RoutedEventArgs"/> instance containing the event data.</param>
		private void QuestionControl_Loaded(object sender, System.Windows.RoutedEventArgs e)
		{
			QuestionData = new QuestionData();
		}
		#endregion
	}
}
